/*
 * This file is part of aion-engine <aion-engine.com>
 *
 * aion-engine is private software: you can redistribute it and or modify
 * it under the terms of the GNU Lesser Public License as published by
 * the Private Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * aion-engine is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser Public License for more details.
 *
 * You should have received a copy of the GNU Lesser Public License
 * along with aion-engine.  If not, see <http://www.gnu.org/licenses/>.
 */
package com.aionengine.gameserver.model.templates.housing;

import javax.xml.bind.annotation.*;

/**
 * @author Rolandas
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
@XmlRootElement(name = "address")
public class HouseAddress {

    @XmlAttribute(name = "exit_z")
    protected Float exitZ;

    @XmlAttribute(name = "exit_y")
    protected Float exitY;

    @XmlAttribute(name = "exit_x")
    protected Float exitX;

    @XmlAttribute(name = "exit_map")
    protected Integer exitMap;

    @XmlAttribute(required = true)
    protected float z;

    @XmlAttribute(required = true)
    protected float y;

    @XmlAttribute(required = true)
    protected float x;

    @XmlAttribute(name = "town", required = true)
    private int townId;

    @XmlAttribute(required = true)
    protected int map;

    @XmlAttribute(required = true)
    protected int id;

    public Float getExitZ() {
        return exitZ;
    }

    public Float getExitY() {
        return exitY;
    }

    public Float getExitX() {
        return exitX;
    }

    public Integer getExitMapId() {
        return exitMap;
    }

    public float getZ() {
        return z;
    }

    public float getY() {
        return y;
    }

    public float getX() {
        return x;
    }

    public int getMapId() {
        return map;
    }

    public int getId() {
        return id;
    }

    public int getTownId() {
        return townId;
    }

}
